package com.ant.storage.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2024-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("car_supplier_pay")
@ApiModel(value="CarSupplierPay对象", description="")
public class CarSupplierPay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "供应商id")
    @TableField("supplier_id")
    private Integer supplierId;

    @ApiModelProperty(value = "采购单订单id")
    @TableField("purchase_orders_id")
    private Integer purchaseOrdersId;

    @ApiModelProperty(value = "采购单id")
    @TableField("subscribe_id")
    private Integer subscribeId;

    @ApiModelProperty(value = "采购单商品关联id")
    @TableField("goods_pool_commodity_id")
    private Integer goodsPoolCommodityId;

    @ApiModelProperty(value = "数量")
    private String amount;

    @ApiModelProperty(value = "金额")
    private BigDecimal price;

    @ApiModelProperty(value = "总额")
    @TableField("total_price")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "支付状态  0 未结算 1 申请中  2 已结算 ")
    @TableField("pay_status")
    private Integer payStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "采购人id")
    @TableField("purchaser_id")
    private Integer purchaserId;

    @ApiModelProperty(value = "处理人id")
    @TableField("creation_id")
    private Integer creationId;

    @ApiModelProperty(value = "创建时间")
    @TableField("creation_time")
    private Date creationTime;

    @ApiModelProperty(value = "处理人id")
    @TableField("handle_id")
    private Integer handleId;

    @ApiModelProperty(value = "处理时间")
    @TableField("handle_time")
    private Date handleTime;

    @TableField("planned_id")
    private Integer plannedId;

    @TableField("commodity_id")
    private Integer commodityId;

    @TableField("is_delete")
    private Integer isDelete;


}
